import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
import { BaseService } from '../base/base.service';
import { DistributionConfig } from '../entity/DistributionConfig';

@Injectable()
export class DistributionConfigService extends BaseService<DistributionConfig>{
    constructor(
        @InjectRepository(DistributionConfig) protected repository:Repository<DistributionConfig>
    ) {
        super()
        this.primaryKey = 'id'
    }
}
